<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  beforeCreate () {
    this.$store.commit("generateRoutes");
    this.$store.commit("addMenu", this.$router);
  },
};
</script>
<style lang="less">
html,body,h3{
  margin: 0;
  padding: 0;
}
</style>
